eventcontroller: Ensure controllers stay alive during event emission
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 28 May 2014 17:39:07 +0000 (19:39 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 28 May 2014 17:39:07 +0000 (19:39 +0200)
commit618e3d31570fca577cf374d7b318bc7ca44cadb1
treefe075f36464a862d489ed7d3165dc5ea6e16eb62
parent8c21b0bee5a551870bc22268273dd2b436260d56
eventcontroller: Ensure controllers stay alive during event emission

Those might trigger the destruction of some widget that would dispose the
event controller while the event is still being handled, so keep an extra
ref on the controller during event processing.
gtk/gtkeventcontroller.c